<?php
session_start();
if(!$_SESSION['authority'])
	exit;
?>
	<div id="container" class="container-fluid">
		<div class="row-fluid">
			<div id="logo" class="span12"  style="height:100px">
				BACKSTAGE
			</div>
		</div>
		<div class="col-fluid">
			<div class="span4">
				<div id="main">
					<div id="menu">
						<button id="write_article" class="btn">发布文章</button><br>
<?php if($_SESSION['authority']==1){	?>
						<button class="btn" id="check_articles">审核文章</button><br>	
						<div id="select_div" style="display:none">
							<select id="select" name="flag" class="span2">
								<option value="0">-选择查看类型-</option>
								<option >checking</option>
								<option >checked</option>
							</select>
						</div>
						<button class="btn" id="user_management">用户管理</button><br>
						<div id="manage_menu" style="display:none">
							<button class="btn btn-small btn-inverse" id="regedit">注册</button>
							<br><button class="btn btn-small btn-inverse" id="control">管理</button>
							<br><button class="btn btn-small btn-inverse" id="">hahaha</button>
							<br><button class="btn btn-small btn-inverse" id="">to be continue</button>
						</div>
<?php } ?>
						<button id="personal_profiles" class="btn" onclick="showProfiles(<?php echo $_SESSION['id'] ?>)">个人信息</button>
					</div>
				</div>
			</div>
			<div class="span8">
				<div> <!--Ajax-->
					<table id="operate" class="table table-hover"></table>
				</div>
			</div>
		</div>
	</div>
